package com.TiaoJianJiaZai;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 作者: LCG
 * 日期: 2020/3/6 23:11
 * 描述:
 */
@RestController
public class TestTiaoJianCOntroller {

    @Autowired(required = false)
    private MyTest myTest;

    @RequestMapping("tiaojian")
    public void test(){
        System.out.println(myTest==null);
    }
}
